<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Example Data for the Crossover Encouragement Design</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for CEDdata"><tr><td>CEDdata</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>Example Data for the Crossover Encouragement Design</h2>

<h3>Description</h3>

<p>A randomly generated dataset containing 2000 rows and 7 columns with no missing values.
</p>


<h3>Usage</h3>

<pre>CEDdata</pre>


<h3>Format</h3>

<p>A data frame containing the following variables, which are interpreted as results from a hypothetical randomized trial employing the crossover encouragement design. 
</p>

<dl>
<dt>T1:</dt><dd><p> The binary treatment indicator in the first stage.</p>
</dd>
<dt>M1:</dt><dd><p> The binary mediator variable recorded in the first stage.</p>
</dd>
<dt>Y1:</dt><dd><p> The binary outcome variable recorded in the first stage.</p>
</dd>
<dt>T2:</dt><dd><p> The binary treatment in the second stage. Equal to 1 - T1 by design.</p>
</dd>
<dt>Z:</dt><dd><p> The binary encouragement indicator for the second stage.</p>
</dd>
<dt>M2:</dt><dd><p> The binary mediator recorded in the second stage.</p>
</dd>
<dt>Y2:</dt><dd><p> The binary outcome recorded in the second stage.</p>
</dd>
</dl>



<h3>Details</h3>

<p>Note that all the observed responses are generated from an underlying distribution of potential outcomes and mediators (not shown in this dataset) satisfying the assumptions described in Imai, Tingley and Yamamoto (2012). 
</p>


<h3>Source</h3>

<p>Imai, K., Tingley, D. and Yamamoto, T. (2012) Experimental Designs for Identifying Causal Mechanisms. Journal of the Royal Statistical Society, Series A (Statistics in Society)
</p>


</body></html>
